package gob.osinerg.emergencia.dao;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import gob.osinerg.emergencia.bean.AccidenteGraveFinal;
import gob.osinerg.emergencia.bean.AccidenteGravePreliminar;
import gob.osinerg.emergencia.bean.FormularioEmergenciaUnmay;

public interface AccidenteGraveFinalDAO {

	public void save(AccidenteGraveFinal bean, FormularioEmergenciaUnmay beanform) throws Exception;	
	public List findAccidenteGravePreliminar(String usrioCrdor, Long frmlarioId) throws Exception;
	public List findAccidenteGraveFinal(String usrioCrdor, Long frmlarioId) throws Exception;
	public AccidenteGravePreliminar findAccidenteGravePreliminar(Long id) throws Exception;
	public ArrayList getCausas(String causa, String tipo) throws Exception;
	public Map getTodasCausas() throws Exception;
	public AccidenteGraveFinal findAccidenteGraveFinal(Long id) throws Exception;
	public Long obtenerIDAccidenteGraveFinal(Long idFormulario) throws Exception;

}
